class UrlMappings {
	
	static mappings = {
		"/$controller/$action?/$id?"{
			constraints {
				// apply constraints here
			}
		}
		
		"/"(view:"/index")
		"500"(view:'/error')
		
		"/applogs"(controller: "applicationLogRest") {
			action = [ GET: "list", POST: "save" ]
		}
		"/applogs/$id"(controller: "applicationLogRest") {
			action = [ GET: "show", PUT: "update", DELETE: "delete" ]
		}
	}
}
